package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.alioss")
@Data
public class AliOssProperties {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
//    endpoint: oss-cn-guangzhou.aliyuncs.com
//    access-key-id: LTAI5t6cZPfZRNEMdUyqP9ep
//    access-key-secret: yudRMeci5v2qDx6d6oIUDf1wqk2rmc
//    bucket-name: web-cangqiongwm1
}
